package com.competition.commgr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.competition.common.annotation.Excel;
import com.competition.common.core.domain.BaseEntity;

/**
 * 赛项届次对象 competitionsessions
 * 
 * @author ruoyi
 * @date 2025-01-29
 */
@Data
public class Competitionsessions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 届次编号 */
    private Long sessionId;

    /** 赛项编号 */
    private Integer comItemId;

    /** 赛项名称 */
    @Excel(name = "赛项名称")
    private String comItemName;

    /** 赛事编号 */
    private Integer competitionId;

    @Excel(name = "赛事名称")
    private String competitionName;

    /** 年份 */
    @Excel(name = "年份")
    private Integer year;

    /** 届次 */
    @Excel(name = "届次")
    private Integer sessionNum;

    /** 比赛日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "比赛日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 天数 */
    @Excel(name = "天数")
    private Long duration;

    /** 比赛地点 */
    @Excel(name = "比赛地点")
    private String location;

    /** 注意事项 */
    @Excel(name = "注意事项")
    private String notice;

    /** 比赛文件 */
    private String sessionFile;
}
